<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Icarous: /home/research133/Software/Icarous2/cFS/apps/inc/msgdef/geofence_msg.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Icarous
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c1698e121239b1aba7f6e782e4514e49.html">cFS</a></li><li class="navelem"><a class="el" href="dir_7ee4ce95da95d11e80a01c5101ed8d14.html">apps</a></li><li class="navelem"><a class="el" href="dir_e1e7eca847bc00a6c905b32c8344479f.html">inc</a></li><li class="navelem"><a class="el" href="dir_f9ff52383777e73764319d396bf9e955.html">msgdef</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">geofence_msg.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="geofence__msg_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#ifndef ICAROUS_CFS_GEOFENCE_MSG_H</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#define ICAROUS_CFS_GEOFENCE_MSG_H</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;cfe.h&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html">   25</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span>{</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#a6c97f531aaf301b39b9ab67ba84fcbc9">   26</a></span>&#160;    uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];  </div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#ac984c44bf6161fc6979d21908dcace0c">   27</a></span>&#160;    uint8_t <a class="code" href="structgeofenceConflict__t.html#ac984c44bf6161fc6979d21908dcace0c">numConflicts</a>;                    </div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#a8a48d35ce1137645151e0d0ff631ea88">   28</a></span>&#160;    uint16_t <a class="code" href="structgeofenceConflict__t.html#a8a48d35ce1137645151e0d0ff631ea88">numFences</a>;                      </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#a431f7fcede1f71e51ef3dedaefc990f4">   29</a></span>&#160;    uint8_t conflictFenceIDs[5];             </div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#ae2a762caababa86332ec4f33d9d50b47">   30</a></span>&#160;    uint8_t conflictTypes[5];                </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#a4fbd638e6054ed5c8d3285cbcce752f2">   31</a></span>&#160;    <span class="keywordtype">double</span> timeToViolation[5];               </div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#a793d0502a8caa3c31de26171a48b6403">   32</a></span>&#160;    <span class="keywordtype">double</span> recoveryPosition[3];              </div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#aa3bbed576b8873c2fb51462407007401">   33</a></span>&#160;    <span class="keywordtype">bool</span> waypointConflict[50];               </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structgeofenceConflict__t.html#a5d9d58f76382889712f7ffbfeb80276f">   34</a></span>&#160;    <span class="keywordtype">bool</span> directPathToWaypoint[50];           </div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;}<a class="code" href="structgeofenceConflict__t.html">geofenceConflict_t</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html">   44</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span>{</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html#ac5b586efabbf88be6c235d404474167d">   45</a></span>&#160;    uint8_t TlmHeader[CFE_SB_TLM_HDR_SIZE];  </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html#aeb2791de25a617983ba36e2f697e5485">   46</a></span>&#160;    <span class="keywordtype">double</span> fromPosition[3];                  </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html#a8d0ccf6fe5e1971a34208dd92928afd7">   47</a></span>&#160;    <span class="keywordtype">double</span> toPosition[3];                    </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html#a53016c348d10d1593a78644839151106">   48</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="structpathFeasibilityCheck__t.html#a53016c348d10d1593a78644839151106">feasibleA</a>;                          </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html#ae8e4cea5735d7139812492d96a9608fd">   49</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="structpathFeasibilityCheck__t.html#ae8e4cea5735d7139812492d96a9608fd">feasibleB</a>;                          </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="structpathFeasibilityCheck__t.html#a211e58f250f7b96767c839ff0a24e454">   50</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="structpathFeasibilityCheck__t.html#a211e58f250f7b96767c839ff0a24e454">feasibleAB</a>;                         </div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;}<a class="code" href="structpathFeasibilityCheck__t.html">pathFeasibilityCheck_t</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structgeofence__parameters__t.html">   57</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span>{</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;   uint8_t  TlmHeader[CFE_SB_TLM_HDR_SIZE];</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;   <span class="keywordtype">double</span> lookahead;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;   <span class="keywordtype">double</span> hthreshold;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;   <span class="keywordtype">double</span> vthreshold;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;   <span class="keywordtype">double</span> hstepback;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;   <span class="keywordtype">double</span> vstepback;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;}<a class="code" href="structgeofence__parameters__t.html">geofence_parameters_t</a>;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="preprocessor">#endif //ICAROUS_CFS_GEOFENCE_MSG_H</span></div><div class="ttc" id="structpathFeasibilityCheck__t_html"><div class="ttname"><a href="structpathFeasibilityCheck__t.html">pathFeasibilityCheck_t</a></div><div class="ttdoc">request to check if a path is feasible between two given points. Also used as a response. </div><div class="ttdef"><b>Definition:</b> geofence_msg.h:44</div></div>
<div class="ttc" id="structgeofenceConflict__t_html"><div class="ttname"><a href="structgeofenceConflict__t.html">geofenceConflict_t</a></div><div class="ttdoc">message contaning information about goefence conflicts </div><div class="ttdef"><b>Definition:</b> geofence_msg.h:25</div></div>
<div class="ttc" id="structgeofence__parameters__t_html"><div class="ttname"><a href="structgeofence__parameters__t.html">geofence_parameters_t</a></div><div class="ttdoc">data structure containing information about the parameters used by the geofence app ...</div><div class="ttdef"><b>Definition:</b> geofence_msg.h:57</div></div>
<div class="ttc" id="structpathFeasibilityCheck__t_html_ae8e4cea5735d7139812492d96a9608fd"><div class="ttname"><a href="structpathFeasibilityCheck__t.html#ae8e4cea5735d7139812492d96a9608fd">pathFeasibilityCheck_t::feasibleB</a></div><div class="ttdeci">bool feasibleB</div><div class="ttdef"><b>Definition:</b> geofence_msg.h:49</div></div>
<div class="ttc" id="structpathFeasibilityCheck__t_html_a211e58f250f7b96767c839ff0a24e454"><div class="ttname"><a href="structpathFeasibilityCheck__t.html#a211e58f250f7b96767c839ff0a24e454">pathFeasibilityCheck_t::feasibleAB</a></div><div class="ttdeci">bool feasibleAB</div><div class="ttdef"><b>Definition:</b> geofence_msg.h:50</div></div>
<div class="ttc" id="structgeofenceConflict__t_html_ac984c44bf6161fc6979d21908dcace0c"><div class="ttname"><a href="structgeofenceConflict__t.html#ac984c44bf6161fc6979d21908dcace0c">geofenceConflict_t::numConflicts</a></div><div class="ttdeci">uint8_t numConflicts</div><div class="ttdef"><b>Definition:</b> geofence_msg.h:27</div></div>
<div class="ttc" id="structgeofenceConflict__t_html_a8a48d35ce1137645151e0d0ff631ea88"><div class="ttname"><a href="structgeofenceConflict__t.html#a8a48d35ce1137645151e0d0ff631ea88">geofenceConflict_t::numFences</a></div><div class="ttdeci">uint16_t numFences</div><div class="ttdef"><b>Definition:</b> geofence_msg.h:28</div></div>
<div class="ttc" id="structpathFeasibilityCheck__t_html_a53016c348d10d1593a78644839151106"><div class="ttname"><a href="structpathFeasibilityCheck__t.html#a53016c348d10d1593a78644839151106">pathFeasibilityCheck_t::feasibleA</a></div><div class="ttdeci">bool feasibleA</div><div class="ttdef"><b>Definition:</b> geofence_msg.h:48</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
